#include "stdafx.h"
#include "Framework.h"
#include "UiLayer.h"

namespace tnmujoy
{
namespace uranus
{

//-------------------------------------------------------------------------
Framework::Framework()
    : QObject(NULL)
    , uiLayerPtr_(NULL)
{

}
//-------------------------------------------------------------------------
Framework::~Framework()
{

}
//-------------------------------------------------------------------------
void Framework::initialize() throw(TjException)
{
    uiLayerPtr_ = new UiLayer(this);
    uiLayerPtr_->initialize();
}
//-------------------------------------------------------------------------
void Framework::run()
{
    uiLayerPtr_->run();
}
//-------------------------------------------------------------------------
}//namespace uranus
}//namespace tnmujoy